export default [
  {
    path: '/',
    redirect: '/branch',
  },

  // 分點信息Branch information
  {
    name: '分店資料',
    path: '/branch',
    icon: 'ThunderboltOutlined',
    component: './BranchInformation',
  },

  {
    name: '商品管理',
    path: '/commodity',
    icon: 'ThunderboltOutlined',
    component: './PageBreadcrumbs',
    routes: [
      { path: '/commodity', redirect: '/commodity/category' },
      {
        path: 'category',
        name: '商品類別',
        icon: 'PushpinOutlined',
        component: './Commodity/Catrgory/List',
      },
      {
        path: 'coupon',
        name: '优惠券规则',
        icon: 'TagsOutlined',
        // component: './ReplacingBattery/CouponRule/List',
      },
    ],
  },

  {
    name: '登录',
    path: '/login',
    component: './Login',
    hideInMenu: true,
    layout: false,
  },
];
